package com.huatai.exchange.dal.dao;

import com.faneui.common.exception.BusinessException;
import com.huatai.exchange.dal.model.ExcCustDataFile;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExcCustDataFileDAO {

    ExcCustDataFile queryById(String id) throws Exception;

    List<ExcCustDataFile> queryByModel(ExcCustDataFile excCustDataFile) throws Exception;

//    void addExcCustDataFile(ExcCustDataFile excCustDataFile) throws Exception;
//
    Long updateById(ExcCustDataFile excCustDataFile) throws Exception;
//
//    Long deleteExcCustDataFile(String id) throws Exception;

    Long updateNextDate(@Param("id") String id,@Param("newNextDate")  String newNextDate,@Param("oldNextDate")  String oldNextDate) throws Exception;
}
